package it.poste.il.compensatore.entities;

import java.io.Serializable;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;
import javax.persistence.SequenceGenerator;

import org.springframework.beans.factory.annotation.Autowired;

/**
 * Superclasse per tutte le classi
 */
@MappedSuperclass
public abstract class BaseEntity implements Serializable {
    
	private static final long serialVersionUID = 2885380808345282365L;
    public abstract Long getId();

    public abstract void setId(Long id);

    public abstract boolean isNew();	
 }
